import axios from 'axios';
import interceptor from './responseInterceptor/index.js';
import { HttpMethods } from './consts/index.js';

axios.interceptors.response.use(interceptor, function(error) {
  return Promise.reject(error);
});

export default axios;